﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Charley.WCF.Demo.MoneyMangement.Contract
{
    [ServiceContract]
    public interface IMoneyService
    {
        /// <summary>
        /// 存钱
        /// </summary>
        /// <param name="money"></param>
        /// <returns></returns>
        [OperationContract]
        decimal Deposit(decimal money);

        [OperationContract]
        decimal GetTotal();
    }
}
